class CategoriesProjects < ActiveRecord::Migration
  def self.up
    create_table :categories_projects, :id => false do |t|
      t.column :category_id, :integer, :null => false, :default => 0
      t.column :project_id, :integer, :null => false, :default => 0
    end
  end

  def self.down
    drop_table :categories_projects
  end
end
